# $Id: PKGBUILD 65770 2012-02-22 12:24:38Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-datetime-cron-simple
pkgver=0.2
pkgrel=5
pkgdesc="Perl/CPAN Module DateTime::Cron::Simple"
arch=("any")
url="http://search.cpan.org/~bits/DateTime-Cron-Simple/"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/B/BI/BITS/DateTime-Cron-Simple-0.2.tar.gz")
md5sums=('a7c2b3f9dadd56d707684bef08bb895f')

build() {
  cd $srcdir/DateTime-Cron-Simple-0.2
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
